
/*******************************************************************************
 * Copyright (c) 2007 Jules White. All rights reserved.
 * This program and the accompanying materials are made available under the
 * terms of the Common Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors: Jules White - initial API and implementation
 ******************************************************************************/
package org.refresh.prolog;

public class PropertyFact implements Fact {
	
	private String propertyName_;
	private Object[] args_;
	
	public PropertyFact(String propertyName, String objectId, String value) {
		super();
		propertyName_ = propertyName;
		args_ = new Object[]{new ID(objectId),value};
	}

	public Object[] getArguments() {
		return args_;
	}

	public String getPredicate() {
		return propertyName_;
	}
	
	
}
